import request from '@/utils/request'

export const getParkListAPI = (params) => request.get('park/building', { params })

export const delParkListAPI = (id) => request.delete(`park/building/${id}`)

export const addParkListAPI = (data) => request.post('park/building', data)

// export const searchParkListAPI = (id) => request.post(`park/building/${id}`)
export const emitParkListAPI = (data) => request.put('park/building', data)

